package com.snu.liwei.lyl_api.mapper;

import com.snu.liwei.lyl_api.entity.Video;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface VideoMapper {

    //按照视频关键字返回所有符合条件的视频
     List<Video> getVideoByName(String videoName);

    //按照视频的风格videosign返回所有符合条件的视频
     List<Video> getVideoBySign(String videoSign);

}
